include "../model/TLiveStream.thrift"
namespace java com.iqiyi.pps.epg.api.server.web.stream

 service LiveStreamWebService {
     string createFlv(1:i64 fatherId,2:string streamName,3:string isDefault,4:string fmsHost);
     string startFlv(1:i64 fatherId,2:string streamName);
     string stopFlv(1:i64 fatherId,2:string streamName, 3:bool isQipuOperating);
     string deleteFlv(1:i64 fatherId,2:string streamName);
     string restartFlv(1:i64 fatherId,2:string streamName,3:string internalIp,4:string streamIp);

     string createTs(1:i64 fatherId,2:string streamName,3:string fmsHost);
     string startTs(1:i64 fatherId,2:string streamName);
     string stopTs(1:i64 fatherId,2:string streamName, 3:bool isQipuOperating);
     string deleteTs(1:i64 fatherId,2:string streamName);
     string restartTs(1:i64 fatherId,2:string streamName,3:string internalIp,4:string streamIp);

     string createDolby(1:i64 fatherId,2:string streamName);
     string startDolby(1:i64 fatherId,2:string streamName);
     string stopDolby(1:i64 fatherId,2:string streamName, 3:bool isQipuOperating);
     string deleteDolby(1:i64 fatherId,2:string streamName);
     string restartDolby(1:i64 fatherId,2:string streamName);

     string createNewTs(1:i64 fatherId,2:string streamName);
     string startNewTs(1:i64 fatherId,2:string streamName);
     string stopNewTs(1:i64 fatherId,2:string streamName, 3:bool isQipuOperating);
     string deleteNewTs(1:i64 fatherId,2:string streamName);
     string restartNewTs(1:i64 fatherId,2:string streamName);

     string p2pOnline(1:i64 fatherId,2:string streamName,string fmsHost);
     string p2pOffline(1:i64 fatherId,2:string streamName);

     list<TLiveStream.TLiveStream> getLiveStream(1:i64 fatherId,2:string streamName,3:string formatType);
     list<map<string, string>> getCutterIdInfo(1:i32 maxVal, 2:string sortType, 3:string cutterType);
     list<TLiveStream.TNetMonitorInfo> getNetMonitorInfo(1:i64 channelQipuId);
     string saveLiveStreamMonitor(1:TLiveStream.TLiveStreamMonitor tLiveStreamMonitor);

 }
